package com.alex.forumgen;

public class Message {

	private String title;

	private String text;

	private User user;

	private String date;

	public Message(String title, String text, User user, String date) {
		this.title = title;
		this.text = text;
		this.user = user;
		this.date = date;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
}
